package com.cong.modules.oss;

import java.util.Date;

public class SysFile {

	/**
	 * 文件id
	 */
	private Long fileId;

	/**
	 * 原始文件名称
	 */
	private String originalName;

	/**
	 * 文件名称
	 */
	private String fileName;

	/**
	 * 文件类型
	 */
	private String fileType;

	/**
	 * 友链图片地址
	 */
	private String fileSize;

	/**
	 * 文件相对路径
	 */
	private String filePath;

	/**
	 * 文件绝对路径
	 */
	private String fileFullPath;

	/**
	 * 文件哈希值
	 */
	private String fileHash;

	/**
	 * oss存储类型
	 */
	private Integer ossType;

	/**
	 * 状态
	 */
	private Integer status;

	/**
	 * 添加时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	public Long getFileId() {
		return fileId;
	}

	public void setFileId(Long fileId) {
		this.fileId = fileId;
	}

	public String getOriginalName() {
		return originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFileFullPath() {
		return fileFullPath;
	}

	public void setFileFullPath(String fileFullPath) {
		this.fileFullPath = fileFullPath;
	}

	public String getFileHash() {
		return fileHash;
	}

	public void setFileHash(String fileHash) {
		this.fileHash = fileHash;
	}

	public Integer getOssType() {
		return ossType;
	}

	public void setOssType(Integer ossType) {
		this.ossType = ossType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public SysFile withOriginalName(String originalName) {
		this.originalName = originalName;
		return this;
	}

	public SysFile withFileName(String fileName) {
		this.fileName = fileName;
		return this;
	}

	public SysFile withFileType(String fileType) {
		this.fileType = fileType;
		return this;
	}

	public SysFile withFileSize(String fileSize) {
		this.fileSize = fileSize;
		return this;
	}

	public SysFile withFilePath(String filePath) {
		this.filePath = filePath;
		return this;
	}

	public SysFile withFileFullPath(String fileFullPath) {
		this.fileFullPath = fileFullPath;
		return this;
	}

	public SysFile withFileHash(String fileHash) {
		this.fileHash = fileHash;
		return this;
	}

	public SysFile withOssType(Integer ossType) {
		this.ossType = ossType;
		return this;
	}

	public SysFile withStatus(Integer status) {
		this.status = status;
		return this;
	}

	public SysFile withCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}

	public SysFile withUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

}
